<script setup lang="ts">
import { onMounted } from "vue";
import { reqLogin } from "@/api/user";
onMounted(() => {
  reqLogin({
    username: "admin",
    password: "123456",
  })
    .then((res) => {
      console.log(res, 11);
    })
    .catch((err) => {
      console.log(err, 22);
    });
});
</script>

<template>
  <router-view></router-view>
</template>

<style scoped lang="scss"></style>
